package com.flyco.modules.oms.service;

import com.flyco.modules.oms.entity.OmsOrderDiscountRecord;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Description: 订单折扣使用记录
 * @Author: flyco
 * @Date:   2024-04-12
 * @Version: V1.0
 */
public interface IOmsOrderDiscountRecordService extends IService<OmsOrderDiscountRecord> {

    //根据订单id获取已使用的有效折扣记录
    OmsOrderDiscountRecord getByOrderId(String orderId);
}
